package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

/**
 * <p>
 * 菌落观察形态记录
 * </p>
 *
 * @author wanghao
 * @since 2024-04-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BAC_MORPHOLOGY_LOG", autoResultMap = true)
public class BacMorphologyLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 观察结果主键
     */
    /*@TableField("OBSER_RESULT_ID")
    private String obserResultId;*/

    /**
     * 培养基json
     */
    @TableField("CUL_MEDIUM")
    private String cultureMedium;

    /**
     * 形态json
     */
    @TableField("MORPHOLOGY")
    private String morphology;

    /**
     * 检验方案编号
     */
    @TableField("TEST_FLOW_NO")
    private String testFlowNo;
    /**
     * 检验方案节点编号
     */
    @TableField("TEST_NODE_NO")
    private String testNodeNo;
    /**
     * 报告单元
     */
    @TableField("RPT_GROUP")
    private String rptGroup;
    /**
     * 检验日期
     */
    @TableField("SAMPLEDA")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Timestamp sampleda;
    /**
     * 标本号
     */
    @TableField("SAMPLE_NO")
    private String sampleNo;
    /**
     * 菌株编号
     */
    @TableField("ISOLATE_NUM")
    private String isolateNum;
    /**
     * 细菌编号
     */
    @TableField("GERM_NO")
    private String germNo;
}
